package com.pojo;

import com.dto.CommentsWithUserDTO;
import lombok.Data;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

@Data
public class Comments {

  private Integer id;
  private Integer userId;
  private Integer noteId;
  private String content;
  private Integer parentId;
  private LocalDateTime createdAt;
  private LocalDateTime updatedAt;
  //子回复
  private List<CommentsWithUserDTO> replies;
}
